﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace OCV
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            bool CreateNew;
            Mutex mutex = new Mutex(false, "TTOCV", out CreateNew);
            if (!CreateNew)
            {
                MessageBox.Show("已经有一个实例正在运行");
                Application.Exit();
                return;
            }
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new OcvFrm());
        }
    }
}
